<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
    
<!DOCTYPE html>
<html>
	<head>
		<title>${fns:getConfig('productName')}</title>
		<meta name="decorator" content="default"/>
		<script type="text/javascript" charset="utf-8" src="${ctxStatic}/admin/scripts/layindex.js"></script>
		<script type="text/javascript">
			var menuUrl = '${ctx}/sys/menu/nav?time=' + Math.random();
			//页面加载完成时
			$(function () {
			    //检测IE
			    if ('undefined' == typeof(document.body.style.maxHeight)){
			        window.location.href = 'ie6update.html';
			    }
			});
		</script>
	</head>

	<body class="indexbody">
		<form method="post">
		  	<!--全局菜单-->
		  	<a class="btn-paograms" onclick="togglePopMenu();"></a>
			  <div id="pop-menu" class="pop-menu" style="display: none;">
			    <div class="pop-box" style="width: 610px; height: 470.4px;">
			      <h1 class="title"><i></i>导航菜单</h1>
			      <i class="close" onclick="togglePopMenu();">关闭</i>
			      <div class="list-box"></div>
			    </div>
			    <i class="arrow">箭头</i>
			  </div>
		  	<!--/全局菜单-->
			
		  <div class="main-top">
		    <a class="icon-menu"></a>
		    <div id="main-nav" class="main-nav" style=""></div>
		    <div class="nav-right">
		      <div class="info">
		        <i></i>
		        <span>
		          您好，${fns:getUser().loginName}<br>
		          ${fns:getUser().name}
		          <%--<c:set var="centerName" value="${fns:getCenter().name }"></c:set>
		          ${centerName} --%>
		        </span>
		      </div>
		      <div class="option">
		        <i></i>
		        <div class="drop-wrap">
		          <div class="arrow"></div>
		          <ul class="item">
		          	<%-- <c:forEach items="${fns:getCenterList()}" var="center">
		          	<li>
		          	  <c:choose>
		          	  	<c:when test="${center.name==centerName}">
		          	  	 <a href="#" onclick="javascript:void(0)">${center.name}</a>
		          	  	</c:when>
		          	  	<c:otherwise>
		          	  	<a href="#" onclick="location='${ctx}/qd/center/change/?id=${center.id }&url='+location.href">${center.name}</a>
		          	  	</c:otherwise>
		          	  </c:choose>
		            </li>
		          	</c:forEach> --%>
		            <!-- <li>
		              <a href="../" target="_blank">预览网站</a>
		            </li>
		            <li>
		              <a href="center.aspx" target="mainframe">管理中心</a>
		            </li> -->
		            <li>
		              <a href="${ctx}/sys/user/changepwd" onclick="linkMenuTree(false, '');" target="mainframe">修改密码</a>
		            </li>
		            <li>
		              <a id="lbtnExit" href="${ctx}/logout">注销登录</a>
		            </li>
		          </ul>
		        </div>
		      </div>
		    </div>
		  </div>
		  
		  <div class="main-left">
		    <h1 class="logo"></h1>
		    <div id="sidebar-nav" class="sidebar-nav"></div>
		  </div>
		  
		  <div class="main-container">
		    <iframe id="mainframe" name="mainframe" frameborder="0" src="${ctx}/center"></iframe>
		  </div>
		
		</form>
	</body>
</html>
    